

package com.turingtechnologies.materialscrollbardemo;

public class LayoutWrapContentUpdater implements ViewBehavior {
    private final AnimationManager animationManager;

    /**
     * LayoutWrapContentUpdater WrapContent
     *
     * @param aNimationManager aNimationManager
     */
    public LayoutWrapContentUpdater(AnimationManager aNimationManager) {
        this.animationManager = aNimationManager;
    }

    @Override
    public void onHandleGrabbed() {
        animationManager.show();
    }

    @Override
    public void onHandleReleased() {
        animationManager.hide();
    }

    @Override
    public void onScrollStarted() {
    }

    @Override
    public void onScrollFinished() {
    }
}
